package com.dosen.api.third.party.register.anno;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Indexed;

import java.lang.annotation.*;

/**
 * @version V1.0
 * @author: guangcheng
 * @date: 2022/8/25 10:03
 * @description:
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Indexed
@Inherited
@Component
public @interface APIRouter {

    @AliasFor(annotation = Component.class)
    String value() default "";

}
